M

FabricationNetworkChangeService.ChangeService

Description:
Changes the service of the selection of fabrication parts.
Remarks:
After this method has been invoked, call:
  • GetStraightsThatWereNotChanged. to get a set of fabrication part straight element identifiers that were not changed.
  • [!:GetElementsThatHadFailures] to get a set of fabrication part element identifiers that had failures.
Overloads (2):
ChangeService(ISet[ElementId],Int32,Int32)
public FabricationNetworkChangeServiceResult ChangeService(
	ISet<ElementId> selection,
	int serviceId,
	int groupId
)
  • ISet<ElementId>
    selection
    The set of element identifiers of fabrication parts to change the service for.
  • Int32
    serviceId
    The identifier of the fabrication service.
  • Int32
    groupId
    The identifier of the fabrication group.